home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-02 / tpapi1.zip / NWERROR.PA1 < prev    next >
Text File  |  1991-12-04  |  11KB  |  201 lines

  1. {!R! FONT 15; FTMD 15; EXIT;}
  2. {***************************************************************************}
  3. {** Program : NWERROR                                                     **}
  4. {***************************************************************************}
  5. {** Version : 2.5             ** Started : 21/02/91  ** Ended :   /  /    **}
  6. {***************************************************************************}
  7. {******************************** Description ******************************}
  8. {***************************************************************************}
  9. {** Netware Error messages                                                **}
  10. {**                                                                       **}
  11. {**                                                                       **}
  12. {**                                                                       **}
  13. {**                                                                       **}
  14. {***************************************************************************}
  15. {******************************** Information ******************************}
  16. {***************************************************************************}
  17. {**                                                                       **}
  18. {**                                                                       **}
  19. {**                                                                       **}
  20. {**                                                                       **}
  21. {**                                                                       **}
  22. {***************************************************************************}
  23.  
  24. {$I NETWARE.INC}
  25.  
  26. UNIT NWERROR;
  27.  
  28. INTERFACE
  29.  
  30. CONST
  31.  
  32.   CAPTURE_IS_NOT_ACTIVE               = $00;    { 000 }
  33.   SERVER_NOT_IN_USE                   = $00;    { 000 }
  34.   SHELL_VERSION_TOO_OLD               = $00;    { 000 }
  35.   SUCCESSFUL                          = $00;    { 000 }
  36.   TTS_NOT_AVAILABLE                   = $00;    { 000 }
  37.   LPT_DEVICE_OUT_OF_RANGE             = $01;    { 001 }
  38.   SEMAPHORE_OVERFLOW                  = $01;    { 001 }
  39.   SERVER_IN_USE                       = $01;    { 001 }
  40.   TTS_AVAILABLE                       = $01;    { 001 }
  41.   FILE_IN_USE_ERROR                   = $80;    { 128 }
  42.   NO_MORE_FILE_HANDLES                = $81;    { 129 }
  43.   NO_OPEN_PRIVILEGES                  = $82;    { 130 }
  44.   IO_ERROR_NETWORK_DISK               = $83;    { 131 }
  45.   NO_CREATE_PRIVILEGES                = $84;    { 132 }
  46.   NO_CREATE_DELETE_PRIVILEGES         = $85;    { 133 }
  47.   CREATE_FILE_EXISTS_READ_ONLY        = $86;    { 134 }
  48.   WILD_CARDS_IN_CREATE_FILE_NAME      = $87;    { 135 }
  49.   INVALID_FILE_HANDLE                 = $88;    { 136 }
  50.   NO_SEARCH_PRIVILEGES                = $89;    { 137 }
  51.   NO_DELETE_PRIVILEGES                = $8A;    { 138 }
  52.   NO_RENAME_PRIVILEGES                = $8B;    { 139 }
  53.   NO_MODIFY_PRIVILEGES                = $8C;    { 140 }
  54.   SOME_FILES_AFFECTED_IN_USE          = $8D;    { 141 }
  55.   NO_FILES_AFFECTED_IN_USE            = $8E;    { 142 }
  56.   SOME_FILES_AFFECTED_READ_ONLY       = $8F;    { 143 }
  57.   NO_FILES_AFFECTED_READ_ONLY         = $90;    { 144 }
  58.   SOME_FILES_RENAMED_NAME_EXISTS      = $91;    { 145 }
  59.   NO_FILES_RENAMED_NAME_EXISTS        = $92;    { 146 }
  60.   NO_READ_PRIVILEGES                  = $93;    { 147 }
  61.   NO_WRITE_PRIVILEGES_OR_READONLY     = $94;    { 148 }
  62.   FILE_DETACHED                       = $95;    { 149 }
  63.   SERVER_OUT_OF_MEMORY                = $96;    { 150 }
  64.   NO_DISK_SPACE_FOR_SPOOL_FILE        = $97;    { 151 }
  65.   VOLUME_DOES_NOT_EXIST               = $98;    { 152 }
  66.   DIRECTORY_FULL                      = $99;    { 153 }
  67.   ERR_DIRECTORY_FULL                  = $99;    { 153 }
  68.   RENAMING_ACROSS_VOLUMES             = $9A;    { 154 }
  69.   BAD_DIRECTORY_HANDLE                = $9B;    { 155 }
  70.   INVALID_PATH                        = $9C;    { 156 }
  71.   NO_MORE_TRUSTEES                    = $9C;    { 156 }
  72.   NO_MORE_DIRECTORY_HANDLES           = $9D;    { 157 }
  73.   INVALID_FILENAME                    = $9E;    { 158 }
  74.   DIRECTORY_ACTIVE                    = $9F;    { 159 }
  75.   DIRECTORY_NOT_EMPTY                 = $A0;    { 160 }
  76.   DIRECTORY_IO_ERROR                  = $A1;    { 161 }
  77.   READ_FILE_WITH_RECORD_LOCKED        = $A2;    { 162 }
  78.   SEARCH_DRIVE_VECTOR_FULL            = $B0;    { 176 }
  79.   DRIVE_IS_NOT_MAPPED                 = $B1;    { 177 }
  80.   CANT_MAP_LOCAL_DRIVE                = $B2;    { 178 }
  81.   INVALID_MAP_TYPE                    = $B3;    { 179 }
  82.   INVALID_DRIVE_LETTER                = $B4;    { 180 }
  83.   NO_DRIVE_AVAILABLE                  = $B5;    { 181 }
  84.   WORKSTATION_OUT_OF_MEMORY           = $B6;    { 182 }
  85.   NO_SUCH_SEARCH_DRIVE                = $B7;    { 183 }
  86.   PATH_ENVIRON_VARIABLE_INVALID       = $B8;    { 184 }
  87.   NO_ACCT_PRIVLEGES                   = $C0;    { 192 }
  88.   LOGIN_DENIED_NO_ACCOUNT_BALANCE     = $C1;    { 193 }
  89.   NO_ACCT_BALANCE                     = $C1;    { 193 }
  90.   ACCT_CREDIT_LIMIT_EXCEEDED          = $C2;    { 194 }
  91.   LOGIN_DENIED_NO_CREDIT              = $C2;    { 194 }
  92.   ACCT_TOO_MANY_HOLDS                 = $C3;    { 195 }
  93.   INTRUDER_DETECTION_LOCK             = $C5;    { 197 }
  94.   NO_CONSOLE_OPERATOR                 = $C6;    { 198 }
  95.   PASSWORD_NOT_UNIQUE                 = $D7;    { 215 }
  96.   PASSWORD_TOO_SHORT                  = $D8;    { 216 }
  97.   LOGIN_DENIED_NO_CONNECTION          = $D9;    { 217 }
  98.   UNAUTHORIZED_LOGIN_TIME             = $DA;    { 218 }
  99.   UNAUTHORIZED_LOGIN_STATION          = $DB;    { 219 }
  100.   ACCOUNT_DISABLED                    = $DC;    { 220 }
  101.   PASSWORD_HAS_EXPIRED_NO_GRACE       = $DE;    { 222 }
  102.   PASSWORD_HAS_EXPIRED                = $DF;    { 223 }
  103.   NOT_ITEM_PROPERTY                   = $E8;    { 232 }
  104.   WRITE_PROPERTY_TO_GROUP             = $E8;    { 232 }
  105.   MEMBER_ALREADY_EXISTS               = $E9;    { 233 }
  106.   NO_SUCH_MEMBER                      = $EA;    { 234 }
  107.   NOT_GROUP_PROPERTY                  = $EB;    { 235 }
  108.   NO_SUCH_SEGMENT                     = $EC;    { 236 }
  109.   NO_SUCH_SET                         = $EC;    { 236 }
  110.   PROPERTY_ALREADY_EXISTS             = $ED;    { 237 }
  111.   OBJECT_ALREADY_EXISTS               = $EE;    { 238 }
  112.   INVALID_NAME                        = $EF;    { 239 }
  113.   WILD_CARD_NOT_ALLOWED               = $F0;    { 240 }
  114.   IPX_NOT_INSTALLED                   = $F0;    { 240 }
  115.   INVALID_BINDERY_SECURITY            = $F1;    { 241 }
  116.   NO_OBJECT_READ_PRIVILEGE            = $F2;    { 242 }
  117.   NO_OBJECT_RENAME_PRIVILEGE          = $F3;    { 243 }
  118.   NO_OBJECT_DELETE_PRIVILEGE          = $F4;    { 244 }
  119.   NO_OBJECT_CREATE_PRIVILEGE          = $F5;    { 245 }
  120.   NO_PROPERTY_DELETE_PRIVILEGE        = $F6;    { 246 }
  121.   NOT_SAME_LOCAL_DRIVE                = $F6;    { 246 }
  122.   NO_PROPERTY_CREATE_PRIVILEGE        = $F7;    { 247 }
  123.   TARGET_DRIVE_NOT_LOCAL              = $F7;    { 247 }
  124.   ALREADY_ATTACHED_TO_SERVER          = $F8;    { 248 }
  125.   NO_PROPERTY_WRITE_PRIVILEGE         = $F8;    { 248 }
  126.   NOT_ATTACHED_TO_SERVER              = $F8;    { 248 }
  127.   NO_FREE_CONNECTION_SLOTS            = $F9;    { 249 }
  128.   NO_PROPERTY_READ_PRIVILEGE          = $F9;    { 249 }
  129.   NO_MORE_SERVER_SLOTS                = $FA;    { 250 }
  130.   TEMP_REMAP_ERROR                    = $FA;    { 250 }
  131.   INVALID_PARAMETERS                  = $FB;    { 251 }
  132.   NO_SUCH_PROPERTY                    = $FB;    { 251 }
  133.   _UNKNOWN_REQUEST                    = $FB;    { 251 }
  134.   INTERNET_PACKET_REQT_CANCELED       = $FC;    { 252 }
  135.   UNKNOWN_FILE_SERVER                 = $FC;    { 252 }
  136.   MESSAGE_QUEUE_FULL                  = $FC;    { 252 }
  137.   NO_SUCH_OBJECT                      = $FC;    { 252 }
  138.   BAD_STATION_NUMBER                  = $FD;    { 253 }
  139.   INVALID_PACKET_LENGTH               = $FD;    { 253 }
  140.   UNKNOWN_REQUEST                     = $FD;    { 253 }
  141.   FIELD_ALREADY_LOCKED                = $FD;    { 253 }
  142.   TTS_DISABLED                        = $FD;    { 253 }
  143.   FSCOPY_DIFFERENT_NETWORKS           = $FD;    { 253 }
  144.   BINDERY_LOCKED                      = $FE;    { 254 }
  145.   DIRECTORY_LOCKED                    = $FE;    { 254 }
  146.   INVALID_SEMAPHORE_NAME_LENGTH       = $FE;    { 254 }
  147.   IMPLICIT_TRANSACTION_ACTIVE         = $FE;    { 254 }
  148.   PACKET_NOT_DELIVERABLE              = $FE;    { 254 }
  149.   SERVER_BINDERY_LOCKED               = $FE;    { 254 }
  150.   SOCKET_TABLE_FULL                   = $FE;    { 254 }
  151.   SPOOL_DIRECTORY_ERROR               = $FE;    { 254 }
  152.   SUPERVISOR_HAS_DISABLED_LOGIN       = $FE;    { 254 }
  153.   TIMEOUT_FAILURE                     = $FE;    { 254 }
  154.   TRANSACTION_ENDS_RECORDS_LOCKED     = $FE;    { 254 }
  155.   BAD_PRINTER_ERROR                   = $FF;    { 255 }
  156.   BAD_RECORD_OFFSET                   = $FF;    { 255 }
  157.   BINDERY_FAILURE                     = $FF;    { 255 }
  158.   CAPTURE_IS_ACTIVE                   = $FF;    { 255 }
  159.   CLOSE_FCB_ERROR                     = $FF;    { 255 }
  160.   EXPLICIT_TRANSACTION_ACTIVE         = $FF;    { 255 }
  161.   EXPLICIT_TRANSACTION_NOT_ACTIVE     = $FF;    { 255 }
  162.   FILE_EXTENSION_ERROR                = $FF;    { 255 }
  163.   FILE_NAME_ERROR                     = $FF;    { 255 }
  164.   HARDWARE_FAILURE                    = $FF;    { 255 }
  165.   INVALID_DIRECTORY_HANDLE            = $FF;    { 255 }
  166.   INVALID_DRIVE_NUMBER                = $FF;    { 255 }
  167.   INVALID_INITIAL_SEMAPHORE_VALUE     = $FF;    { 255 }
  168.   INVALID_SEMAPHORE_HANDLE            = $FF;    { 255 }
  169.   IO_BOUND_ERROR                      = $FF;    { 255 }
  170.   NO_FILES_FOUND_ERROR                = $FF;    { 255 }
  171.   NO_RECORD_FOUND                     = $FF;    { 255 }
  172.   NO_RESPONSE_FROM_SERVER             = $FF;    { 255 }
  173.   NO_SUCH_OBJECT_OR_BAD_PASSWORD      = $FF;    { 255 }
  174.   PATH_ALREADY_EXISTS                 = $FF;    { 255 }
  175.   PATH_NOT_LOCATABLE                  = $FF;    { 255 }
  176.   PRINT_JOB_ALREADY_SET               = $FF;    { 255 }
  177.   QUEUE_FULL_ERROR                    = $FF;    { 255 }
  178.   REQUEST_NOT_OUTSTANDING             = $FF;    { 255 }
  179.   SOCKET_ALREADY_OPEN                 = $FF;    { 255 }
  180.   SOCKET_CLOSED                       = $FF;    { 255 }
  181.   TRANSACTION_NOT_YET_WRITTEN         = $FF;    { 255 }
  182.   NO_CAPTURE_IN_EFFECT                = $FF;    { 255 }
  183.   LPT_CAPTURE_ALREADY_IN_EFFECT       = $FF;    { 255 }
  184.   INVALID_CONNECTION_ID               = $0101;  { 257 }
  185.  
  186. {*** Errors numbers 512 through 1023 are reserved for user interface ***}
  187.   
  188.   UNEXPECTED_INTERNAL_CONDITION       = $0BAD;  { 2989  }
  189.   ENVIRONMENT_OVERFLOW                = $FFFF;  { 65535 }
  190.   NO_SUCH_ENVIRON_VARIABLE            = $FFFF;  { 65535 }
  191.  
  192.  
  193.   {USER SPECIFIC ERRORS}
  194.  
  195.   ALREADY_LOGGED_INTO_SERVER          = $200;   { 512 }
  196.  
  197.  
  198. FUNCTION GetBinderyServicesError (ErrorNumber : WORD) : STRING;
  199.  
  200.  
  201.